package home;

import org.apache.wicket.authroles.authentication.AuthenticatedWebSession;
import org.apache.wicket.authroles.authorization.strategies.role.Roles;
import org.apache.wicket.request.Request;

@SuppressWarnings("serial")
public class WebSession extends AuthenticatedWebSession{

	public WebSession(Request request) {
		super(request);
	}

	@Override
	public boolean authenticate(final String username, final String password) {
		return true;
	}
	
	
	@Override
	public Roles getRoles() {
		Roles roles = new Roles();
		roles.add("ADMIN");
		return roles;
	}

}
